package com.yurun.service;

import com.yurun.entity.Business;
import com.yurun.model.vo.PageResult;

import java.util.List;

public interface BusinessService {
    void addBusiness(Business business);

    void deleteBusinessById(Long id);

    void updateBusiness(Business business);

    PageResult<Business> getBusinessList(Integer pageNum);

    PageResult<Business> getBusinessListByCategoryId(Integer bcategoryId,Integer pageNum);

    Business getBusinessByName(String name);
}
